home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 42 / Amiga Format AFCD42 (Issue 126, Aug 1999).iso / -serious- / comms / other / w95_slip / win95_slip_2_amiga.txt < prev    next >
Text File  |  1999-05-25  |  10KB  |  346 lines

  1.  
  2.        Amiga to win95 SLIP written by LFO of Phuture 303
  3.        -------------------------------------------------
  4.  
  5. Introduction
  6. ============
  7.  
  8. Want to surf on your amiga with SLIP? dont wont to install linux
  9. on your pc? It's possible to set up SLIP on win95! Don't know
  10. how? Then here's how i did it!
  11.  
  12.  
  13. Requirements
  14. ============
  15.  
  16. A PC running win95/98 with an internet connection
  17. An Amiga
  18. A null modem cable
  19. Some paitience
  20.  
  21. software you will need on the PC:
  22.  
  23. Winproxy
  24. (you can get a 30 day trial of winproxy on www.winproxy.com)
  25.  
  26. software you will need on the Amiga:
  27.  
  28. Miami 3.x
  29. (you can get a timelimited trial version of miami from www.nordicglobal.com)
  30. Any internet applications you wish to use on the amiga.
  31.  
  32. Discalimer
  33. ==========
  34. I'm not reponsible for anything you do, any data loss or anything at all :)
  35.  
  36.  
  37. Setting it all up
  38. =================
  39.  
  40. first i'll explain my setup so you can see how you setup may
  41. differ in configuration.
  42.  
  43. I run an ethernet lan on the pc's with an ip of 90.0.0.x and a
  44. subnet mask of 255.255.255.0 , this ensures that the machines
  45. are unreachable from the outside world. The server (machine
  46. connected to the internet) is multihomed, that means theres more
  47. than one ethernet card in the box and more than one ip on the
  48. machine. Im using a lan/cable connection to the internet and my
  49. isp dns is on 10.x.x.x, however this setup should still work if
  50. you are using a dialup modem from the pc.
  51.  
  52. setting up on the pc:
  53.  
  54. Even if you are not running an ethernet lan, give your server 
  55. (machine with modem) an ip address of 90.0.0.1 subnet mask 255.255.255.0
  56. and your other machines (pc's) 90.0.0.2 subnet mask 255.255.255.0 and so
  57. on. (this is done in the network properties found in the control panel)
  58.  
  59. With the power off on both machines, plug in your null modem cable and 
  60. test it between the amiga and pc (use some terminal programs to make 
  61. sure its working) copy the nullmodem driver (included with this archive)
  62. to your pc's hard drive or to a pc formatted floppy.
  63. (the driver was written by Mark Crossley of Cisco systems and is freely
  64. distributable)
  65.  
  66. in windows go to the control panel and double click on modems
  67. (there maybe some slight differences in this procedure if you
  68. are using win95a, im using win95b and i seem to remeber some
  69. minor differences)
  70.  
  71.  
  72.  
  73. Select dont detect my modem, i will select it from a list, then
  74. click next
  75.  
  76.  
  77. Click have disk, and browse to the where you put the null modem
  78. driver and press ok. 
  79.  
  80.  
  81. Now select Generic NULL modem from the displayed list and click next.
  82.  
  83.  
  84. Select the com port which you plugged your null modem into and click next.
  85.  
  86.  
  87. Windows should now report that its installing your new modem, after a 
  88. few moments and if all went well itll will say your modem is set up,
  89. click finish.
  90.  
  91.  
  92. now in the modem properites dialog you should see your null
  93. modem listed as well as any other "real" modem you have on your
  94. system. Next we have to change a setting in the null modem
  95. driver, so select it from the list and press properties. All the
  96. settings are fine to leave alone, except for speed, set that to
  97. 57600, you may be able to set this higher, in fact if you have a
  98. powerfull machine you will want to do this, but for the moment
  99. set it to 57600 as this is known to work, and it will help in 
  100. debugging if you have a problem.
  101.  
  102.  
  103. Now that the null modem is installed we must make a dialup
  104. connection for it to dial to the amiga.
  105.  
  106.  
  107. go to dialup networking and double click on make new connection
  108.  
  109.  
  110. give your connection a name such as Amiga SLIP. Select the null
  111. modem and click next.
  112.  
  113.  
  114. type in any phone number and location, its not important because
  115. we wont actually be dialing out, windows just wants this
  116. information. Then click next. And then click finish.
  117.  
  118.  
  119. Now you should see a new connection in dialup networking called
  120. Amiga SLIP (or whatever you named it to) Select it and right
  121. click on it and select properties.
  122.  
  123.  
  124. Select the server tab and make sure the server type is set to
  125. PPP windows 95, Windows nt 3.5 internet. Now uncheck all of the 
  126. boxes except for tcp/ip.
  127.  
  128.  
  129. Now click on tcp/ip settings.
  130.  
  131.  
  132. click on specify an ip address and enter 192.168.1.1
  133. make sure below this, server assigned name server addresses is
  134. selected. check use ip header compression, and leave use default
  135. gateway unchecked. Now click ok and then click ok again.
  136.  
  137.  
  138. At this point the pc is almost configured for the tcp/ip
  139. connection, all that remains for you to do is make a textfile.
  140.  
  141. open up notepad and enter this
  142.  
  143.  
  144.  
  145.  
  146. 192.168.1.1     windows
  147. 192.168.1.2     amiga
  148.  
  149.  
  150.  
  151.  
  152. save the file into your windows directory naming it HOSTS. Make sure
  153. it is actually called HOSTS and has no file extention, notepad may
  154. save it as HOSTS.TXT this will not work, if this is the case
  155. manually go to your windows dir and rename it to HOSTS
  156.  
  157.  
  158. now reboot the pc, its almost ready for the connection.
  159.  
  160.  
  161. Once the pc has restarted install winproxy (you can use another
  162. proxy/firewall program if you like, but this one worked for me)
  163.  
  164.  
  165. setup winproxy on your server (90.0.0.1, the machine with the
  166. modem) to proxy, http , ftp, socks 4 and socks 5 and any
  167. other services you may require, the only really important thing
  168. to change is the socks server port, change that to 1280.
  169. if you get stuck setting up winproxy read the help file that
  170. came with it, everything is covered there.
  171.  
  172.  
  173. once this is done, the pc is ready. Now we have to setup up on
  174. the amiga.
  175.  
  176.  
  177. setting up on the amiga
  178. =======================
  179. Open up miami, we shall just change whats needed, the rest can
  180. be left as default.
  181.  
  182.  
  183. in the interface settings:
  184.  
  185. serial driver (ppp/cslip/ip)
  186. driver: serial.device unit 0
  187. speed: 57600
  188. protocol:async PPP
  189. flow control: rts/cts
  190. eof mode: auto
  191. serial mode: 8n1
  192. ip type : static
  193. ip address: 192.168.1.2
  194. multicasts disabled
  195. mtu :1005
  196.  
  197. then click ok
  198.  
  199.  
  200. in the tcp/ip settings:
  201.  
  202. uncheck dynamic hostname
  203. hostname: amiga
  204. real name : your name
  205. user name : your user name
  206. check use ICMP
  207. uncheck all other check boxes
  208.  
  209. then click ok
  210.  
  211.  
  212. in the modem settings:
  213.  
  214. check null modem
  215.  
  216. then click ok
  217.  
  218.  
  219. in the socks settings:
  220.  
  221. check enable socks
  222. default socks server : 90.0.0.1 port 1280
  223. maximum syslog level: none
  224. authentication method : none
  225.  
  226. then click ok
  227.  
  228.  
  229. Now go to the database settings, theres a toggle gadget with
  230. several sections, we'll only mention those that have to be
  231. changed, the rest can be left on the default settings.
  232.  
  233.  
  234. in the hosts settings of the database
  235. -------------------------------------
  236.  
  237. there may already be some entrys here, if there are delete or
  238. disable them.
  239.  
  240. now add two new entries,
  241.  
  242. ip:192.168.1.1 name:windows
  243. ip:192.168.1.2 name:amiga
  244.  
  245.  
  246.  
  247. in the dns settings of the database
  248. -----------------------------------
  249.  
  250. add a dns server of
  251.  
  252. ip : 90.0.0.1
  253.  
  254.  
  255. in the socks settings of the database
  256. -------------------------------------
  257.  
  258. add a socks server of
  259.  
  260. type : socks5
  261. command : 90.0.0.1
  262. hosts : windows
  263. ports : 1280
  264.  
  265.  
  266. now save your settings and exit miami.
  267.  
  268.  
  269. Now you are finished setting up miami. But before we connect up
  270. to the net we have to change the settings for your browser.
  271. Open your browser up, im using voyager, but it should be the
  272. same for other browsers.
  273.  
  274.  
  275. In Voyager go to the setings and select net settings,
  276.  
  277.  
  278. check use http proxy,and enter host 90.0.0.1 port 80
  279. leave the ftp and other proxys unchecked and blank, they will
  280. work via the socks already set up in miami.
  281.  
  282. click ok
  283.  
  284.  
  285. save the new settings and leave voyager.
  286.  
  287.  
  288. now we are finally ready to connect to the net, restart both machines.
  289.  
  290.  
  291. How to connect to the net
  292. =========================
  293. on the pc connect to the internet as usual, when you are online
  294. go to the amiga and start miami and click online, the dialer 
  295. window will open and wait for a connection, now on the pc double
  296. click on your amiga SLIP connecton (the one you made before in dialup 
  297. networking) when it says connecting, go back to miami and click 
  298. send break. If all goes well you will see miami find the ip numbers
  299. and after which you will be online.
  300.  
  301. Thats it, you can now run all your internet programs as usual,
  302. not to mention have the ability to surf on two machines
  303. simultainiously. Try running your browser irc or ftp programs,
  304. if all went well then you can feel happy with yourself as you
  305. have achi